package com.freecloud.spring.formework.beans;

/**
 * 单例工厂实现
 * @Author: maomao
 * @Date: 2019-12-10 09:17
 */
public interface FCBeanFacotry {

    /**
     * 根据BeanName从IOC容器中获取一个实例Bean
     * @param name
     * @return
     */
    Object getBean(String name) throws Exception;


    Object getBean(Class<?> clazz) throws Exception;
}
